/**
 * Copyright (c) 2019 EOVA.CN. All rights reserved.
 * 
 * Licensed under the EPPL license: http://eova.cn/eppl.txt
 * For authorization, please contact: admin@eova.cn
 */
package com.oss.shop;

import com.eova.common.base.BaseModel;
import com.jfinal.plugin.activerecord.Db;
import com.oss.model.OrderItem;

import java.util.List;

/**
 * 订单
 * @author Jieven
 *
 */
public class Shop extends BaseModel<Shop> {

	private static final long serialVersionUID = 1064291771401662738L;

	public static final Shop dao = new Shop();

	public Shop findShopById(int id){
		return this.findFirst("select * from base_shop where id = ?", id);
	}

}